import Vue from 'vue'
import App from './App.vue'


// Vue.directive('color', (el, obj) => {
//   el.style.color = obj.value
// })

Vue.directive('color',{
  bind (el, obj) {
    el.style.color = obj.value
  },
  update (el, obj) {
    el.style.color = obj.value
  }
})

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
}).$mount('#app')
